<template>
	<view class="universal-detail">
		<view class="universal-detail-top">
			<view class="universal-detail-top-time">
				<text class="universal-detail-top-title">指派</text>
				{{ model.assignTime }}
			</view>
			<view class="universal-detail-top-username">下达人：{{ model.issuerName }}</view>
		</view>

		<view class="universal-detail-cont">
			<view class="universal-detail-item">
				<view class="universal-detail-item-title">指派处理人：</view>
				<van-text-ellipsis class="universal-detail-item-cont" :content="model.assignerName" />
			</view>
			<view class="universal-detail-item">
				<view class="universal-detail-item-title">计划完成时间：</view>
				<van-text-ellipsis class="universal-detail-item-cont" :content="model.planFinishTime" />
			</view>
		</view>
	</view>
</template>

<script setup>
	const model = defineModel();
</script>

<style lang="scss" scoped>
	@import '@/assets/universal-detail.scss';

	.detail {
		.universal-detail {
			.universal-detail-item {
				width: 100%;
			}
		}
	}
</style>